package com.spring.zhz.anno;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MainTestAnno {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("anno/anno-beans.xml");
        System.out.println(((AnnoUser) context.getBean("annoUser")).toString());
    }
}
